<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 19-3-5
 * Time: 上午10:24
 */

namespace common\models;


/**
 * Class EdiviOrderCard
 * @package common\models
 *
 * @property EdiviCreditOrder $ediviCreditOrder
 */
class EdiviOrderCard extends \common\models\base\EdiviOrderCard
{
    /**
     * @return \yii\db\ActiveQuery
     */
    public function getEdiviCreditOrder()
    {
        return $this->hasOne(EdiviCreditOrder::className(), ['id' => 'edivi_credit_order_id']);
    }
}